MatrixAddons\EasyInvoice\Repositories\InvoiceRepository A

Total Complexity 54
Dependencies 3
Dependents 14
Total lines 271
Lines of code 154
Logical lines of code 79
Comment lines 2
Methods 29
Properties 1

Methods 29

Method Rating Maintainability Complexity Lines of code
is_invoice_payable()
A
53 9 24
get_tax_amount()
S
55 7 20
get_discount_amount()
S
55 6 19
get_taxable_amount()
S
66 3 8
get_terms_conditions()
S
73 2 4
get_sub_total()
S
67 2 8
__construct()
S
78 2 3
get_line_items()
S
72 2 5
get_client_url()
S
79 1 3
get_client_email()
S
79 1 3
get_due_amount()
S
78 1 3
get_total_paid()
S
80 1 3
get_id()
S
82 1 3
get_discount_calculation_method()
S
79 1 3
get_discount_type()
S
79 1 3
get_discount_value()
S
78 1 3
get_description()
S
79 1 3
get_client_name()
S
79 1 3
get_client_additional_info()
S
79 1 3
get_tax_rate()
S
79 1 3
get_tax_type()
S
79 1 3
get_currency_symbol()
S
79 1 3
get_title()
S
80 1 3
get_due_date()
S
79 1 3
get_created_date()
S
79 1 3
get_order_number()
S
79 1 3
get_invoice_number()
S
79 1 3
get_invoice_status()
S
79 1 3
get_currency()
S
79 1 3